<#escape x as (x)!> 
<#if page?exists>
<div class="page_panel">
<span>共${page.totalItemNum}篇，第${page.currentPageNum}/${page.totalPageNum}页</span>

<span><a href="${page_base}${page.firstPage}">首页</a></span>
<#if page.hasPrev()>
	<span><a href="${page_base}${page.prevPage}">上一页</a></span>
</#if>
<#if page.beginDot>...</#if>
<#list page.allPages as page_num>
	<#if page_num = page.currentPageNum>
	<span>${page_num}</span>
	<#else>
	<span><a href="${page_base}${page_num}">${page_num}</a></span>
	</#if>
</#list>
<#if page.endDot>...</#if>
<#if page.hasNext()>
	<span><a href="${page_base}${page.nextPage}">下一页</a></span>
</#if>
<span><a href="${page_base}${page.lastPage}">尾页</a></span>
</div>
</#if>
</#escape> 